//
// Created by lenovo on 2024/1/11.
//

#ifndef CALCULATOR_NUM_H
#define CALCULATOR_NUM_H

#include "Evaluable.h"

class Num : public Evaluable{
protected:
    double _value {0};
public:
    Num() = default ;
    explicit Num(double v) : _value(v) {}
    double getValue() override{
        return this->_value;
    }
};

#endif //CALCULATOR_NUM_H
